<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%
	request.setAttribute("brEnter", "\n");//用于替换xml中的换行符
%>
<x:parse var="xmlData" xml="${param.xmlstr}"/>

<div class="one_page">
		<table class="TblList_head" align="center">
			<tr>
				<td>一、单位基本情况</td>
			</tr>
		</table>
		<table class="TblList" align="center">
			<col style="width: 20%" />
			<col style="width: 30%" />
			<col style="width: 20%" />
			<col style="width: 30%" />
			<tr>
		<td class="td_bgcolor" >单位名称</td>
		<td colspan="3"><span name="organizations/organization[0]/org_name"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name" />
		    </span>
		</td>
	</tr>
	<tr>
		<td class="td_bgcolor">单位地址</td>
		<td colspan="3">
			    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/address_org" /> 
		</td>
	</tr>
	 <tr>
		<td class="td_bgcolor">邮政编码</td>
		<td>  
		    <span name="organizations/organization[0]/zip_code">
		         <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/zip_code" /> 
		    </span>
		</td>
		<td class="td_bgcolor">联系电话</td>
		<td> 
		    <span name="organizations/organization[0]/org_tel"> 
			    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_tel" /> 
		    </span>
		</td>
	</tr> 
		</table>
		
		
			<table class="TblList" align="center">
				<col style="width: 20%" />
				<col style="width: 30%" />
				<col style="width: 20%" />
				<col style="width: 30%" />
			<tr>
				<td colspan="4" >
					 <span style="font-family: SimHei; font-size: 10.5pt;" class="td_bgcolor">单位人员情况（单位：人）</span>
				</td>
			</tr>	
			<tr>
				<td  class="td_bgcolor" >职工总数</td>
				<td  align="center"> 
						<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/people_count_total" />
				</td>
				<td class="td_bgcolor">大专以上人员数</td>
				<td colspan='1' align="center">
			       <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/degree_total" />  
			</td>
			</tr>
		
			<tr>
				<td class="td_bgcolor" >管理人员数</td>
				<td  align="center"> 
						<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/work_xingzheng" />
				</td>
				<td class="td_bgcolor">研究开发人员数</td>
				<td align="center">
			   	 <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/work_yanfa" />
				</td>
			</tr>
	</table>	
	
		<table class="TblList" align="center">
				<col style="width: 10%" />
				<col style="width: 60%" />
				<col style="width: 30%" />
			<tr>
				<td colspan="3" >
				<c:if test="${param.org_type_name == '高校'}">
					<span style="font-family: SimHei; font-size: 10.5pt;" class="td_bgcolor">上年度主要产品情况（请填写合作企业的）</span>
				</c:if>
				<c:if test="${param.org_type_name != '高校' or param.org_type_name==''}">
					<span style="font-family: SimHei; font-size: 10.5pt;" class="td_bgcolor">上年度主要产品情况</span>
				</c:if>
				</td>
			</tr>	
			<tr align="center">
				<td class="td_bgcolor">序号</td>
				<td class="td_bgcolor">主要产品</td>
				<td class="td_bgcolor">
				<c:if test="${param.org_type_name == '高校'}">占企业销售收入比例（%）</c:if>
				<c:if test="${param.org_type_name != '高校' or param.org_type_name==''}">占产品销售收入比例（%）</c:if>
				</td>
			</tr>
				</table>
				
			<x:forEach select="$xmlData/data/products/product" var="product">
			<table class="TblList" align="center">
				<col style="width: 10%" />
				<col style="width: 60%" />
				<col style="width: 30%" />			
						<tr >
							<td align="center">
								 <x:out select="$product/@seq_no"/> 
							</td>
							<td>
								 <x:out select="$product/name" />
							</td>
							<td align="center">
							  	<x:out select="$product/income_rate" />
							</td> 
						</tr>
			</table>	
	       </x:forEach>
	       
	       <table class="TblList" align="center">
				<col style="width: 20%" />
				<col style="width: 30%" />
				<col style="width: 20%" />
				<col style="width: 30%" />
			<tr>
				<td colspan="4" >
				<c:if test="${param.org_type_name == '高校'}">
					 <span style="font-family: SimHei; font-size: 10.5pt;" class="td_bgcolor"> 上年度生产经营情况（万元）（请填写合作企业的）</span>
				</c:if>
				<c:if test="${param.org_type_name != '高校' or param.org_type_name==''}">
					 <span style="font-family: SimHei; font-size: 10.5pt;" class="td_bgcolor">上年度生产经营情况（万元）</span>
				</c:if>
				</td>
			</tr>	
			
			<tr>
			<td class="td_bgcolor">总收入</td>
			<td align="center" > 
					 <x:out select="$xmlData/data/organization_finances/finance/income"/>
			</td>
			<td  class="td_bgcolor">净利润</td>
			<td  align="center" > 
					 <x:out select="$xmlData/data/organization_finances/finance/proft"/> 
			</td>
	 </tr>
	 <tr>
			<td class="td_bgcolor" >总产值</td>
			<td align="center" > 
					 <x:out select="$xmlData/data/organization_finances/finance/output"/> 
			</td>
			<td  class="td_bgcolor">纳税总额</td>
			<td  align="center"  > 
					 <x:out select="$xmlData/data/organization_finances/finance/fax"/> 
			</td>
	 </tr>
	  <tr>
			<td class="td_bgcolor" >增加值</td>
			<td  align="center"  > 
					 <x:out select="$xmlData/data/organization_finances/finance/added"/> 
			</td>
			<td  class="td_bgcolor">创汇总额(万美元)</td>
			<td  align="center"  > 
					 <x:out select="$xmlData/data/organization_finances/finance/export"/> 
			</td>
	 </tr>
	   <tr>
			<td class="td_bgcolor" >产品销售收入</td>
			<td  align="center"  > 
					 <x:out select="$xmlData/data/organization_finances/finance/sales_revenue"/> 
			</td>
			<td  class="td_bgcolor">研发经费支出总额</td>
			<td  align="center"  > 
					 <x:out select="$xmlData/data/organization_finances/finance/yanfa_income"/> 
			</td>
	 </tr>
			
			</table>
		<p style="page-break-after: always">&nbsp;</p>
	</div>
